package de.dailab.graphworld.ontology;

import de.dailab.jiactng.agentcore.knowledge.IFact;

/**
 *
 * @author Kseniya
 */
public class Message<E> implements IFact {

    private E data;
    private ReplyType type;

    public Message(E data, ReplyType type) {
        this.data = data;
        this.type = type;
    }

    public ReplyType getType() {
        return type;
    }

    public void setType(ReplyType type) {
        this.type = type;
    }

    public E getData() {
        return data;
    }

    public void setData(E data) {
        this.data = data;
    }
}
